package com.leicx.guli.product.feign;

import com.leicx.guli.common.to.es.SkuEsModel;
import com.leicx.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author daxiong
 * @date 2021/7/26 下午8:45
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> esModels);
}
